<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>jQuery API Browser</title>
<script type="text/javascript" src="/lib/jquery/jquery-1.3.min.js"></script>
<script src="/lib/jqueryapi/api-browser.js" type="text/javascript" charset="utf-8"></script>
<script src="/lib/air/AC_RunActiveContent.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="/assets/css/APIBrowser.css" type="text/css" charset="utf-8" />
</head>
<body id="page">
    <noscript>
    <p>Hi there, You've come to the jQuery documentation app, but you have JavaScript disabled.  This <em>view</em> on the documentation requires JavaScript, but don't fret, you can get <strong>all</strong> the information you need from the <a href="http://docs.jquery.com">primary jQuery documentation.</a></p>
    <div style="display: none;">
    </noscript>
    <div id="header">
        <img width="215" height="53" alt="jQuery: Write Less, Do More." src="/assets/images/logo_jquery_215x53.gif"/>
        <div id="navigation">
            <ul>
                <li class="first"><a class="selected" href="#api">API</a></li>
                <li><a href="#ui">jQuery UI</a></li>
                <li><a href="#favs">Favs</a></li>
                <li class="last"><label for="query"><span>Filter</span> <input type="text" name="q" value="" id="query" /></label></li>
            </ul>
        </div>
    </div>
    <div id="body">
      <div id="browser">
          <div class="inner">
              <p class="loading"><img src="/assets/images/spinner.gif" /> Loading jQuery API database</p>
          </div>
      </div>
      <div id="detail">
          <div class="inner">
            <h2>Welcome to the jQuery API browser</h2>
            
            <p>To get started, click on a category on the left.</p>
            
            <p>The API browser will work in Safari, Firefox 3 and IE7.</p>
            
            <p>You can also use categorise your filtering by using:</p>
            <ul>
                <li><a href="http://api.jquery.com/?added=1.3">added=1.3</a> for all the latest functions</li>
                <li><a href="http://api.jquery.com/?category=core">category=core</a> for all the methods within on category</li>
                <li>Or just use it to search for method names</li>
            </ul>

            <p>Please send an feedback via the blog post or: <em>remy at remysharp</em> or Twitter if it's brief <a href="http://twitter.com/rem">@rem</a></p>
            <p>The API browser is available as this web app, or as a downloadable <a href="http://www.adobe.com/products/air/" title="Adobe - Adobe AIR">AIR</a>.</p>
            
<script type="text/javascript" charset="utf-8">
if (!window.runtime) {
    (function () {
        var requiredMajorVersion = 9;
        // Minor version of Flash required
        var requiredMinorVersion = 0;
        // Minor version of Flash required
        var requiredRevision = 115;
        
        // Version check based upon the values entered above in "Globals"
        var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

        // Check to see if the version meets the requirements for playback
        if (hasReqestedVersion) {
        	// if we've detected an acceptable version
        	// embed the Flash Content SWF when all tests are passed

        	AC_FL_RunContent(
        		'codebase','http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab',
        		'width','217',
        		'height','180',
        		'id','install',
        		'align','middle',
        		'src','badge',
        		'quality','high',
        		'bgcolor','#FFFFFF',
        		'name','badge',
        		'allowscriptaccess','all',
        		'pluginspage','http://www.macromedia.com/go/getflashplayer',
        		'flashvars','appname=Sample%20Application&appurl=http://api.jquery.com/update/jquery-api-browser-2.0.air&airversion=2.0&imageurl=/assets/images/badge.jpg',
        		'movie','badge' ); //end AC code

        } else {  // flash is too old or we can't detect the plugin
        	var alternateContent = '<table id="messageTable"><tr><td>'
        	+ 'This application requires the following be installed:<ol>'
        	+ '<li><a href="http://adobe.com/go/getair/">Adobe&#174; AIR&#8482; Runtime</a></li>'
        	+ '<li><a href="http://api.jquery.com/update/jquery-api-browser-2.0.air">Sample Application</a></li>'
        	+ '</ol>Please click on each link in the order above to complete the installation process.</td></tr></table>';
        	$('#install').html(alternateContent);  // insert non-flash content
        }
    })();
}
</script>
            
            <noscript>
                <p>The API browser requires JavaScript to run, however you can also download the offline AIP browser that runs using AIR:</p>
                <p>Download and install the <a href="http://api.jquery.com/update/jquery-api-browser-2.0.air">offline API browser</a></p></noscript>
          </div>
      </div>
    </div>
    <p id="credit"><a href="http://remysharp.com">Built by Remy Sharp</a></p>
    <noscript>
    </div>
    </noscript>
<script src="/lib/jqueryapi/api-loader.js" type="text/javascript" charset="utf-8"></script>
<script src="/lib/jqueryapi/pretty.js" type="text/javascript" charset="utf-8"></script>
<script src="/lib/jqueryapi/cookie.js" type="text/javascript" charset="utf-8"></script>
<script src="/lib/jqueryapi/jquery.tojson.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
    // fixes Safari restoring the scroll position *after* load
    setTimeout(function () {
        document.body.scrollTop = 0;
    }, 10);

    if (!window.runtime) {
        apiBrowserMain();        
    }
</script>
</body>
</html>
